from pebl import data
from pebl.learner import greedy
import os, shutil


dataset = data.fromfile("../../data/winter1000.txt")
learner = greedy.GreedyLearner(dataset, max_time=10)
result = learner.run()
result_path = "../../results/winter1000-result"
if os.path.exists(result_path):
    shutil.rmtree(result_path)
result.tohtml(result_path)
